package com.glela.live.mapper;

import com.glela.live.model.PublishHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PublishHistoryMapper {

    int addPublish(PublishHistory publishHistory);

    List<PublishHistory> getPageList();

    PublishHistory getLastBegin(@Param("streamName") String streamName);
}
